package com.chinadci.smartcommunitysystembackstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 便民电话
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("scs_phone")
@ApiModel(value="ScsPhone对象", description="")
public class ScsPhone implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "电话编号")
    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    @ApiModelProperty(value = "电话号")
    private String pPhone;

    @ApiModelProperty(value = "姓名")
    private String pName;

    @ApiModelProperty(value = "性别")
    private String pSex;

    @ApiModelProperty(value = "年龄")
    private Integer pAge;

    @ApiModelProperty(value = "职位")
    private Integer pPosition;

    @TableField(exist = false)
    private List<ScsPositionType> type;
    @TableField(exist = false)
    private String zw;
}
